#ifndef __MYEVENT_H_
#define __MYEVENT_H_

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>

#include "comdef.h"

class DLL_EXT_CLASS CMyEvent
{
public:
	CMyEvent(void);
	~CMyEvent(void);

	void Set();
	int Wait(unsigned long   dwTimeOut = 3);

private:
#ifdef _WIN32
	HANDLE	m_hEvent;
#endif
};
#endif
